<template>
    <div>
        <el-button @click="tuichu">退出登陆</el-button>
    </div>
</template>

<script>
    export default {
        methods: {
            tuichu() {
                window.sessionStorage.clear()
                this.$router.push("/logi")
            }

        }
    };
</script>

<style lang="less" scoped>

</style>